package com.chezhujie.www.domain;

import com.chezhujie.www.core.init.mysql.BaseEntity;
import com.chezhujie.www.core.init.mysql.annotation.Column;
import com.chezhujie.www.core.init.mysql.annotation.Entity;
import com.chezhujie.www.core.init.mysql.annotation.Id;
import com.chezhujie.www.core.init.mysql.annotation.Table;

import java.math.BigDecimal;
import java.util.Date;

/**
 * Created by 汤伟杰 on 2017/7/4.
 */
@Entity
@Table(name="czj_payorder",describe = "支付订单")
public class Czjpayorder extends BaseEntity{
    @Id
    @Column(describe = "主键",length = 19)
    private String payorderId;
    @Column(describe = "支付订单号",length = 32)
    private String payorderno;
    @Column(describe = "支付金额",length = 10,precision = 2,inputType = "decimal")
    private BigDecimal totalamount;
    @Column(describe = "创建时间",inputType = "date")
    private Date createtime;
    private Date createtimeStart;
    private Date createtimeEnd;

    public String getPayorderId() {
        return payorderId;
    }

    public void setPayorderId(String payorderId) {
        this.payorderId = payorderId;
    }

    public String getPayorderno() {
        return payorderno;
    }

    public void setPayorderno(String payorderno) {
        this.payorderno = payorderno;
    }

    public BigDecimal getTotalamount() {
        return totalamount;
    }

    public void setTotalamount(BigDecimal totalamount) {
        this.totalamount = totalamount;
    }

    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public Date getCreatetimeStart() {
        return createtimeStart;
    }

    public void setCreatetimeStart(Date createtimeStart) {
        this.createtimeStart = createtimeStart;
    }

    public Date getCreatetimeEnd() {
        return createtimeEnd;
    }

    public void setCreatetimeEnd(Date createtimeEnd) {
        this.createtimeEnd = createtimeEnd;
    }
}
